#include "aabb.h"



aabb::aabb()
{
    min=Point::Zero();
    max=Point::Zero();
}

aabb::aabb(PointSet p)
{
    min=p.rowwise().minCoeff();
    max=p.rowwise().maxCoeff();
}

aabb::~aabb()
{
    ;
}

void aabb::reset(PointSet p)
{
    min=p.rowwise().minCoeff();
    max=p.rowwise().maxCoeff();
}


